﻿using Ace.AutoMapper;
using Ace.Entity.Wiki;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Ace.Application.Wiki
{
    public class UsersChargeItemInputBase: ValidationModel
    {
        public decimal UserCharge { get; set; }

        public decimal ShopCharge { get; set; }



        public string Remark { get; set; }
 
    }


    [MapToType(typeof(UsersChargeItem))]
    public class AddUsersChargeItemInput : UsersChargeItemInputBase
    { 
    }

    [MapToType(typeof(UsersChargeItem))]
    public class UpdateUsersChargeItemInput : UsersChargeItemInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
    }
}
